package com.api.service;

import com.api.common.reqres.Request;
import com.api.common.reqres.Response;
import com.api.model.entity.FrontUser;
import com.api.model.request.FrontLoginRequest;
import com.api.model.request.FrontUserUpdateRequest;
import com.api.model.request.NullRequest;
import com.api.model.request.OpenidRequest;
import com.api.model.request.RegisteredRequest;
import com.api.model.request.SmsCodeRequest;
import com.api.model.response.FrontLoginResponse;
import com.api.model.response.NullResponse;
import com.api.model.response.OpenidResponse;
import com.api.model.response.RegisteredResponse;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author cfp
 * @since 2019-10-14
 */
public interface FrontUserService extends IService<FrontUser> {

	public Response<RegisteredResponse> registered(Request<RegisteredRequest> request);

	public Response<NullResponse> smsCode(Request<SmsCodeRequest> request);

	public Response<FrontLoginResponse> frontLogin(Request<FrontLoginRequest> request);

	public Response<NullResponse> frontUser(Request<NullRequest> request);

	public Response<NullResponse> frontUserUpdate(Request<FrontUserUpdateRequest> request);

	public Response<OpenidResponse> openid(Request<OpenidRequest> request);
}
